﻿@model IEnumerable<Category>

@{ View.Title = "List Categories"; }

<h2>List</h2>

<p>
  @Html.ActionLink("New Category", "New")
</p>

<div id="categories">
  @Html.Partial("ListControl", Model)
</div>

@Html.WritePager("#categories", Url.Action("List", "Categories"), Url.Action("Count", "Categories"))


